package com.kgc.ssm.mapper;

import com.kgc.ssm.entity.ContractDetail;
import com.kgc.ssm.entity.ContractDetailExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface ContractDetailMapper {
    long countByExample(ContractDetailExample example);

    int deleteByExample(ContractDetailExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ContractDetail row);

    int insertSelective(ContractDetail row);

    List<ContractDetail> selectByExampleWithRowbounds(ContractDetailExample example, RowBounds rowBounds);

    List<ContractDetail> selectByExample(ContractDetailExample example);

    ContractDetail selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") ContractDetail row, @Param("example") ContractDetailExample example);

    int updateByExample(@Param("row") ContractDetail row, @Param("example") ContractDetailExample example);

    int updateByPrimaryKeySelective(ContractDetail row);

    int updateByPrimaryKey(ContractDetail row);
}